<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Core Plot (iOS): CPTFill Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="customdoxygen.css" rel="stylesheet" type="text/css" />
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>


</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  <td id="projectlogo"><img alt="Logo" src="core-plot-logo.png"/></td>
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Core Plot (iOS)
   
   </div>
   <div id="projectbrief">Cocoa plotting framework for Mac OS X and iOS</div>
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.6.1 -->
<script type="text/javascript" src="dynsections.js"></script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="modules.html"><span>Animation&#160;&&#160;Constants</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('interface_c_p_t_fill.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="headertitle">
<div class="title">CPTFill Class Reference</div>  </div>
</div><!--header-->
<div class="contents">
<!-- doxytag: class="CPTFill" --><!-- doxytag: inherits="NSObject,NSCopying-p-p,NSCoding-p-p" -->
<p>Draws area fills.  
 <a href="interface_c_p_t_fill.html#details">More...</a></p>
<div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-0-trigger" src="closed.png" alt="+"/> Inheritance diagram for CPTFill:</div>
<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-0-content" class="dyncontent" style="display:none;">
<div class="center"><img src="interface_c_p_t_fill__inherit__graph.png" border="0" usemap="#_c_p_t_fill_inherit__map" alt="Inheritance graph"/></div>
<map name="_c_p_t_fill_inherit__map" id="_c_p_t_fill_inherit__map">
<area shape="rect" id="node11" href="interface___c_p_t_fill_color.html" title="Draws CPTColor area fills." alt="" coords="4,246,109,277"/><area shape="rect" id="node13" href="interface___c_p_t_fill_gradient.html" title="Draws CPTGradient area fills." alt="" coords="135,246,261,277"/><area shape="rect" id="node15" href="interface___c_p_t_fill_image.html" title="Draws CPTImage area fills." alt="" coords="286,246,396,277"/><area shape="rect" id="node2" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Classes/NSObject_Class/Reference/Reference.html" title="NSObject" alt="" coords="30,86,111,117"/><area shape="rect" id="node4" href="http://developer.apple.com/iPhone/library/documentation/Cocoa/Reference/Foundation/Protocols/NSObject_Protocol/Reference/NSObject.html" title="\&lt;NSObject&#45;p\&gt;" alt="" coords="12,6,129,37"/><area shape="rect" id="node6" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Protocols/NSCopying_Protocol/Reference/Reference.html" title="\&lt;NSCopying&#45;p\&gt;" alt="" coords="134,86,263,117"/><area shape="rect" id="node8" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Protocols/NSCoding_Protocol/Reference/Reference.html" title="\&lt;NSCoding&#45;p\&gt;" alt="" coords="287,86,408,117"/></map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<div id="dynsection-1" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-1-trigger" src="closed.png" alt="+"/> Collaboration diagram for CPTFill:</div>
<div id="dynsection-1-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-1-content" class="dyncontent" style="display:none;">
<div class="center"><img src="interface_c_p_t_fill__coll__graph.png" border="0" usemap="#_c_p_t_fill_coll__map" alt="Collaboration graph"/></div>
<map name="_c_p_t_fill_coll__map" id="_c_p_t_fill_coll__map">
<area shape="rect" id="node2" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Classes/NSObject_Class/Reference/Reference.html" title="NSObject" alt="" coords="24,86,104,117"/><area shape="rect" id="node4" href="http://developer.apple.com/iPhone/library/documentation/Cocoa/Reference/Foundation/Protocols/NSObject_Protocol/Reference/NSObject.html" title="\&lt;NSObject&#45;p\&gt;" alt="" coords="5,6,123,37"/><area shape="rect" id="node6" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Protocols/NSCopying_Protocol/Reference/Reference.html" title="\&lt;NSCopying&#45;p\&gt;" alt="" coords="128,86,256,117"/><area shape="rect" id="node8" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Protocols/NSCoding_Protocol/Reference/Reference.html" title="\&lt;NSCoding&#45;p\&gt;" alt="" coords="280,86,401,117"/></map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="class_c_p_t_fill-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-static-methods"></a>
Public Class Methods</h2></td></tr>
<tr><td colspan="2"><div class="groupHeader">Factory Methods</div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">(<a class="el" href="interface_c_p_t_fill.html">CPTFill</a> *)&#160;</td><td class="memItemRight" valign="bottom">+ <a class="el" href="interface_c_p_t_fill.html#a4df6e8fd7e31fb0a33511512296dcd26">fillWithColor:</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates and returns a new <a class="el" href="interface_c_p_t_fill.html" title="Draws area fills.">CPTFill</a> instance initialized with a given color.  <a href="#a4df6e8fd7e31fb0a33511512296dcd26"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">(<a class="el" href="interface_c_p_t_fill.html">CPTFill</a> *)&#160;</td><td class="memItemRight" valign="bottom">+ <a class="el" href="interface_c_p_t_fill.html#ae4970ff5ae953ff11e829b82925ada6b">fillWithGradient:</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates and returns a new <a class="el" href="interface_c_p_t_fill.html" title="Draws area fills.">CPTFill</a> instance initialized with a given gradient.  <a href="#ae4970ff5ae953ff11e829b82925ada6b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">(<a class="el" href="interface_c_p_t_fill.html">CPTFill</a> *)&#160;</td><td class="memItemRight" valign="bottom">+ <a class="el" href="interface_c_p_t_fill.html#a02016f499a2cffd02796ed30bf79ba75">fillWithImage:</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates and returns a new <a class="el" href="interface_c_p_t_fill.html" title="Draws area fills.">CPTFill</a> instance initialized with a given image.  <a href="#a02016f499a2cffd02796ed30bf79ba75"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Instance Methods</h2></td></tr>
<tr><td colspan="2"><div class="groupHeader">Initialization</div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">(<a class="elRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/ObjCRuntimeRef/Reference/reference.html">id</a>)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="interface_c_p_t_fill.html#ae5071229f02ae283a0e9b62c8a53e317">initWithColor:</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Initializes a newly allocated <a class="el" href="interface_c_p_t_fill.html" title="Draws area fills.">CPTFill</a> object with the provided color.  <a href="#ae5071229f02ae283a0e9b62c8a53e317"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">(<a class="elRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/ObjCRuntimeRef/Reference/reference.html">id</a>)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="interface_c_p_t_fill.html#aec2a7d6b9588d39d953ee6cca40925c0">initWithGradient:</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Initializes a newly allocated <a class="el" href="interface_c_p_t_fill.html" title="Draws area fills.">CPTFill</a> object with the provided gradient.  <a href="#aec2a7d6b9588d39d953ee6cca40925c0"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">(<a class="elRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/ObjCRuntimeRef/Reference/reference.html">id</a>)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="interface_c_p_t_fill.html#a4603b21b905949d7bba491f97443ed11">initWithImage:</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Initializes a newly allocated <a class="el" href="interface_c_p_t_fill.html" title="Draws area fills.">CPTFill</a> object with the provided image.  <a href="#a4603b21b905949d7bba491f97443ed11"></a><br/></td></tr>
<tr><td colspan="2"><div class="groupHeader">Drawing</div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="interface_c_p_t_fill.html#a26f512db109911c6099df80bc36dda74">fillRect:inContext:</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Draws the gradient into the given graphics context inside the provided rectangle.  <a href="#a26f512db109911c6099df80bc36dda74"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="interface_c_p_t_fill.html#a49257e4d49a04ec51b6dbafca8597add">fillPathInContext:</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Draws the gradient into the given graphics context clipped to the current drawing path.  <a href="#a49257e4d49a04ec51b6dbafca8597add"></a><br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Draws area fills. </p>
<p><a class="el" href="interface_c_p_t_fill.html" title="Draws area fills.">CPTFill</a> instances can be used to fill drawing areas with colors (including patterns), gradients, and images. Drawing methods are provided to fill rectangular areas and arbitrary drawing paths. </p>
</div><hr/><h2>Method Documentation</h2>
<a class="anchor" id="a49257e4d49a04ec51b6dbafca8597add"></a><!-- doxytag: member="CPTFill::fillPathInContext:" ref="a49257e4d49a04ec51b6dbafca8597add" args="(CGContextRef theContext)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (void) <a class="el" href="interface_c_p_t_fill.html#a49257e4d49a04ec51b6dbafca8597add">fillPathInContext:</a> </td>
          <td></td>
          <td class="paramtype">(<a class="elRef" href="http://developer.apple.com/iphone/library/documentation/GraphicsImaging/Reference/CGContext/Reference/reference.html#//apple_ref/doc/c_ref/CGContextRef.html">CGContextRef</a>)&#160;</td>
          <td class="paramname"><em>theContext</em></td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Draws the gradient into the given graphics context clipped to the current drawing path. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">theContext</td><td>The graphics context to draw into. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a26f512db109911c6099df80bc36dda74"></a><!-- doxytag: member="CPTFill::fillRect:inContext:" ref="a26f512db109911c6099df80bc36dda74" args="(CGRect theRect,[inContext] CGContextRef theContext)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (void) fillRect: </td>
          <td></td>
          <td class="paramtype">(<a class="elRef" href="http://developer.apple.com/iPhone/library/documentation/GraphicsImaging/Reference/CGGeometry/Reference/reference.html#//apple_ref/doc/c_ref/CGRect.html">CGRect</a>)&#160;</td>
          <td class="paramname"><em>theRect</em></td>
        </tr>
        <tr>
          <td class="paramkey">inContext:</td>
          <td></td>
          <td class="paramtype">(<a class="elRef" href="http://developer.apple.com/iphone/library/documentation/GraphicsImaging/Reference/CGContext/Reference/reference.html#//apple_ref/doc/c_ref/CGContextRef.html">CGContextRef</a>)&#160;</td>
          <td class="paramname"><em>theContext</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Draws the gradient into the given graphics context inside the provided rectangle. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">theRect</td><td>The rectangle to draw into. </td></tr>
    <tr><td class="paramname">theContext</td><td>The graphics context to draw into. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a4df6e8fd7e31fb0a33511512296dcd26"></a><!-- doxytag: member="CPTFill::fillWithColor:" ref="a4df6e8fd7e31fb0a33511512296dcd26" args="(CPTColor *aColor)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">+ (<a class="el" href="interface_c_p_t_fill.html">CPTFill</a> *) <a class="el" href="interface_c_p_t_fill.html#a4df6e8fd7e31fb0a33511512296dcd26">fillWithColor:</a> </td>
          <td></td>
          <td class="paramtype">(<a class="el" href="interface_c_p_t_color.html">CPTColor</a> *)&#160;</td>
          <td class="paramname"><em>aColor</em></td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Creates and returns a new <a class="el" href="interface_c_p_t_fill.html" title="Draws area fills.">CPTFill</a> instance initialized with a given color. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">aColor</td><td>The color. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A new <a class="el" href="interface_c_p_t_fill.html" title="Draws area fills.">CPTFill</a> instance initialized with the given color. </dd></dl>

</div>
</div>
<a class="anchor" id="ae4970ff5ae953ff11e829b82925ada6b"></a><!-- doxytag: member="CPTFill::fillWithGradient:" ref="ae4970ff5ae953ff11e829b82925ada6b" args="(CPTGradient *aGradient)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">+ (<a class="el" href="interface_c_p_t_fill.html">CPTFill</a> *) <a class="el" href="interface_c_p_t_fill.html#ae4970ff5ae953ff11e829b82925ada6b">fillWithGradient:</a> </td>
          <td></td>
          <td class="paramtype">(<a class="el" href="interface_c_p_t_gradient.html">CPTGradient</a> *)&#160;</td>
          <td class="paramname"><em>aGradient</em></td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Creates and returns a new <a class="el" href="interface_c_p_t_fill.html" title="Draws area fills.">CPTFill</a> instance initialized with a given gradient. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">aGradient</td><td>The gradient. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A new <a class="el" href="interface_c_p_t_fill.html" title="Draws area fills.">CPTFill</a> instance initialized with the given gradient. </dd></dl>

</div>
</div>
<a class="anchor" id="a02016f499a2cffd02796ed30bf79ba75"></a><!-- doxytag: member="CPTFill::fillWithImage:" ref="a02016f499a2cffd02796ed30bf79ba75" args="(CPTImage *anImage)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">+ (<a class="el" href="interface_c_p_t_fill.html">CPTFill</a> *) <a class="el" href="interface_c_p_t_fill.html#a02016f499a2cffd02796ed30bf79ba75">fillWithImage:</a> </td>
          <td></td>
          <td class="paramtype">(<a class="el" href="interface_c_p_t_image.html">CPTImage</a> *)&#160;</td>
          <td class="paramname"><em>anImage</em></td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Creates and returns a new <a class="el" href="interface_c_p_t_fill.html" title="Draws area fills.">CPTFill</a> instance initialized with a given image. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">anImage</td><td>The image. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A new <a class="el" href="interface_c_p_t_fill.html" title="Draws area fills.">CPTFill</a> instance initialized with the given image. </dd></dl>

</div>
</div>
<a class="anchor" id="ae5071229f02ae283a0e9b62c8a53e317"></a><!-- doxytag: member="CPTFill::initWithColor:" ref="ae5071229f02ae283a0e9b62c8a53e317" args="(CPTColor *aColor)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (<a class="elRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/ObjCRuntimeRef/Reference/reference.html">id</a>) <a class="el" href="interface_c_p_t_fill.html#ae5071229f02ae283a0e9b62c8a53e317">initWithColor:</a> </td>
          <td></td>
          <td class="paramtype">(<a class="el" href="interface_c_p_t_color.html">CPTColor</a> *)&#160;</td>
          <td class="paramname"><em>aColor</em></td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Initializes a newly allocated <a class="el" href="interface_c_p_t_fill.html" title="Draws area fills.">CPTFill</a> object with the provided color. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">aColor</td><td>The color. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The initialized <a class="el" href="interface_c_p_t_fill.html" title="Draws area fills.">CPTFill</a> object. </dd></dl>

<p>Reimplemented in <a class="el" href="interface___c_p_t_fill_color.html#a57f49af4fdb80c6c24c081fd8cca88fc">_CPTFillColor</a>.</p>

</div>
</div>
<a class="anchor" id="aec2a7d6b9588d39d953ee6cca40925c0"></a><!-- doxytag: member="CPTFill::initWithGradient:" ref="aec2a7d6b9588d39d953ee6cca40925c0" args="(CPTGradient *aGradient)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (<a class="elRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/ObjCRuntimeRef/Reference/reference.html">id</a>) <a class="el" href="interface_c_p_t_fill.html#aec2a7d6b9588d39d953ee6cca40925c0">initWithGradient:</a> </td>
          <td></td>
          <td class="paramtype">(<a class="el" href="interface_c_p_t_gradient.html">CPTGradient</a> *)&#160;</td>
          <td class="paramname"><em>aGradient</em></td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Initializes a newly allocated <a class="el" href="interface_c_p_t_fill.html" title="Draws area fills.">CPTFill</a> object with the provided gradient. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">aGradient</td><td>The gradient. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The initialized <a class="el" href="interface_c_p_t_fill.html" title="Draws area fills.">CPTFill</a> object. </dd></dl>

<p>Reimplemented in <a class="el" href="interface___c_p_t_fill_gradient.html#ab27305a3884a385a574a0bd86e7ff939">_CPTFillGradient</a>.</p>

</div>
</div>
<a class="anchor" id="a4603b21b905949d7bba491f97443ed11"></a><!-- doxytag: member="CPTFill::initWithImage:" ref="a4603b21b905949d7bba491f97443ed11" args="(CPTImage *anImage)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (<a class="elRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/ObjCRuntimeRef/Reference/reference.html">id</a>) <a class="el" href="interface_c_p_t_fill.html#a4603b21b905949d7bba491f97443ed11">initWithImage:</a> </td>
          <td></td>
          <td class="paramtype">(<a class="el" href="interface_c_p_t_image.html">CPTImage</a> *)&#160;</td>
          <td class="paramname"><em>anImage</em></td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Initializes a newly allocated <a class="el" href="interface_c_p_t_fill.html" title="Draws area fills.">CPTFill</a> object with the provided image. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">anImage</td><td>The image. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The initialized <a class="el" href="interface_c_p_t_fill.html" title="Draws area fills.">CPTFill</a> object. </dd></dl>

<p>Reimplemented in <a class="el" href="interface___c_p_t_fill_image.html#a965d16ac2de4b10e76e3bd9e1ffeab64">_CPTFillImage</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>Source/<a class="el" href="_c_p_t_fill_8h_source.html">CPTFill.h</a></li>
<li>Source/CPTFill.m</li>
</ul>
</div><!-- contents -->
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="interface_c_p_t_fill.html">CPTFill</a>      </li>

    <li class="footer">Generated by <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a></li>
   </ul>
 </div>


</body>
</html>
